package com.kuaimacode.kframework.mybatis.models.user;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

/**
 * @author 12786 on 2019/3/30.
 * @version 1.0
 */
@Data
@ApiModel(value = "UserBankCardAccount")
public class UserBankCardAccount {

    @ApiModelProperty(value = "id")
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @TableId("user_id")
    @ApiModelProperty(value = "用户ID")
    private Long userId;

    @TableId("bank_code")
    @ApiModelProperty(value = "银行卡编码")
    private String bankCode;

    @ApiModelProperty(value = "银行预留手机号码")
    @TableId("bank_card_phone_number")
    private String bankCardPhoneNumber;

    @ApiModelProperty(value = "银行卡号")
    @TableId("bank_card_number")
    private String bankCardNumber;

    @ApiModelProperty(value = "银行卡类型0借记卡1信用卡")
    @TableId("bank_card_type")
    private String bankCardType;

    @ApiModelProperty(value = "备注")
    @TableId("remark")
    private String remark;

    @ApiModelProperty(value = "数据状态")
    @TableId("status")
    private String status;

    @ApiModelProperty(value = "创建时间")
    @TableId("create_dt")
    private Date createDt;

    @ApiModelProperty(value = "更新时间")
    @TableId("update_dt")
    private Date updateDt;

    @ApiModelProperty(value = "银行卡名称")
    @TableId("bank_card_desc")
    private String bankCardDesc;


    @ApiModelProperty(value = "持卡人姓名")
    @TableId("card_user_name")
    private String cardUserName;

    @ApiModelProperty(value = "银行卡id")
    @TableId("bank_id")
    private Long bankId;

    @ApiModelProperty(value = "银行卡背景图")
    @TableId("bank_card_img")
    private String bankCardImg;

    @ApiModelProperty(value = "银行卡logo")
    @TableId("bank_card_logo")
    private String bankCardLogo;
}
